package me.sdevil507.platform.po.talent_data_transfer.fruit;

import lombok.Data;
import me.sdevil507.supports.jpa.BaseJpaSnowflakeIdAndAuditEntity;
import me.sdevil507.supports.jpa.BaseJpaSnowflakeIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "nd_fruit_author_org")
public class NdFruitAuthorOrg extends BaseJpaSnowflakeIdEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 单位名称
     */
    
    @Column
    private String name;

    /**
     * 单位排名
     */
    @Column
    private int ranking;

    /**
     * 作者id
     */
    @Column
    private Long  authorId;

    /**
     * 智库id
     */
    @Column
    private Long orgId;

    /**
     * 是否删除
     *
     */
    @Column
    private Boolean  isDel= false;


    /**
     * 创建时间
     */
    @Column
    private Date createTime = new Date();

    /**
     * 更新时间
     */
    @Column
    private Date updateTime = new Date();

    /**
     * 机构单位数量
     */
    
    @Column
    private String number;
}
